import request from '@/utils/request'

export const getTagList = params => request({
  url: '/api/admin/tag/getTagList',
  method: 'get',
  params
})

export const addTag = data => request({
  url: '/api/admin/tag/addTag',
  method: 'post',
  data
})

export const delTag = data => request({
  url: '/api/admin/tag/delTag',
  method: 'post',
  contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
  data
})
